II. Full Custom IC Design Using the Generic 0.13 μm Process

Table of Contents

Introduction

In this tutorial we will manually create the polygons which specifies transistor layouts and their interconnections. This process will help you understand IC layout (e.g., how to make and connect transistors to form an integrated circuit). A static CMOS inverter will be translated into a NWELL and PWELL generic 0.13 micron technology.

Prepare your Workspace

In the Pyxis Project Navigator open your project located in your home folder. Then, add another cell to your project named Tutorial_2 and create a layout called inverter.

1.png

Pyxis Layout will open automatically. Be sure that No Connectivity is chosen and that the process used is generic13.

2.png

Laying polygons for the inverter

Creating the PMOS transistor

Navigate to Layer Palette and choose NW.

3.png

Navigate to IC Palettes > Easy Edit and choose Shape.

4.png

Make a shape anywhere in your sheet. Press ESC and then select the object. Access its properties by pressing q. Change the width, height, origin x, and origin y to the ones specified below.

Width 1.43
Height 2.78
Origin X 0.26
Origin Y -2.52

Realize that the Origin X and Origin Y are relative. The importance lies in how these blocks are spaced in the final layout. Therefore, you could have very different origins for your polygons and reach the same result.

5.png

Add another polygon but of PP type and change the properties as shown in the table below. It is advised that you don't draw it on top of the already existing polygon because it doesn't always work correctly. Instead draw your polygon away from the other shape and change the origins from the properties.

Width 1.17
Height 2.6
Origin X 0.39
Origin Y -2.43

6.png

Similarly, we will lay the rest of the polygons that make the PMOS transistor.

Type OD
Width 0.81
Height 2
Origin X 0.57
Origin Y -2.13

7.png

Type M1
Width 0.26
Height 1.96
Origin X 0.59
Origin Y -2.11

8.png

Press ESC and select the above shape. Then navigate to Easy Edit > Edit > Rel Copy.

9.png

This will create a relative copy of the same shape 0.51 μm further along the x-axis.

10.png

The next step is to create the contacts on the transistor. We will start by making the first contact.

Type CO
Width 0.16
Length 0.16
Origin X 0.64
Origin Y -0.36

11.png

Then relatively copy along y with the correct spacing as shown below.

12.png

You should now have six contacts on your transistor.

13.png

Select one of the contacts, hold Shift, and select the rest of the contacts. Then relatively copy along x.

14.png

We've successfully created a PMOS transistor. The final layout should look like the one shown below.

15.png

Creating the NMOS transistor

Type NP
Width 1.17
Height 1.2
Origin X 0.39
Origin Y -5.78

16.png

Type OD
Width 0.81
Height 0.6
Origin X 0.57
Origin Y -5.48

17.png

Type CO
Width 0.16
Height 0.16
Origin X 0.64
Origin Y -5.26

18.png

Relatively copy along x with an offset of 0.51 μm.

19.png

Type M1
Width 0.26
Height 0.26
Origin X 0.59
Origin Y -5.31

20.png

Relatively copy along x with offset of 0.51 μm.

21.png

Type POLYG
Width 0.13
Height 5.71
Origin X 0.91
Origin Y -5.66

22.png

At this point it might be beneficial to check the structure that we have completed thus far. This can be accomplished by running a Design Rule Check (DRC). The DRC will warn you of any shapes too close together or any partial connections.

Navigate to Tools > Calibre > Run DRC. You don't need to change anything in Calibre Interactive just press Run DRC.

23.png

Check at the end of DRC Summary Report.You should get a total of seven warnings. All but one will be fixed by the end of this tutorial.

Remark: It is of importance that you do frequent DRC checks during the design of a circuit. That way, you avoid having to make extensive changes as a result of not having enough room to move things around to eliminate a design rule violation.

Creating the Positive Supply Voltage ()

Type NW
Width 1.95
Height 1.48
Origin X 0
Origin Y 0

24.png

Type NP
Width 1.59
Height 1.12
Origin X 0.18
Origin Y 0.18

25.png

Type OD
Width 1.47
Height 1
Origin X 0.24
Origin Y 0.24

26.png

Type M1
Width 1.43
Height 0.96
Origin X 0.26
Origin Y 0.26

27.png

Create the contacts of .

Type CO
Width 0.16
Height 0.16
Origin X 0.355
Origin Y 0.84

28.png

Relatively copy along y with an offset of -0.36 μm.

29.png

Select both the contacts by holding Shift + Left Click. Relatively copy along x with an offset of 0.36 μm. Set the number of copies to three.

30.png

Run DRC as before. The number of total warnings should have dropped to five.

Creating the Reference Node (Ground)

Type NOPWELL
Width 1.35
Height 1.12
Origin X 0.3
Origin Y -6.91

31.png

Type PP
Width 1.35
Height 1.12
Origin X 0.3
Origin Y -6.91

32.png

Type OD
Width 1.23
Height 1
Origin X 0.36
Origin Y -6.85

33.png

Type M1
Width 1.19
Height 0.955
Origin X 0.38
Origin Y -6.83

34.png

Type CO
Width 0.16
Height 0.16
Origin X 0.535
Origin Y -6.25

35.png

Relatively copy along y with an offset of -0.36 μm.

36.png

Select both the contacts by holding Shift + Left Click. Relatively copy along x with an offset of 0.36 μm. Set the number of copies to two.

37.png

Run DRC once again. Your number of total warnings should have reduced to three.

Wire the Circuit

Since this cell is to be used in a much larger circuit, it needs to have points where the connections can be made (e.g., input, output, , and ground). This connectivity information is specified by using separate layers.

Connect ground to the NMOS transistor by selecting Metal 1 (M1) and navigating to Add > Path. Press q and change the path width to 0.26 μm. This will stop the Add Path function so call it again. It should now be the correct size. Start from the left contact of the NMOS and lay the path towards the Metal 1 of the ground node. The result should look like the one shown below.

38.png

Similarly connect the PMOS transistor to .

39.png

Wire the NMOS transistor with the PMOS transistor.

40.png

Create a path for the input. You will need to connect POLYG to METAL 1. Call the Add Path function and the press o. This component will allow for that "transition". Place that component at origin x equal to 0.18 and at origin y equal to -3.065.

41.png

Lay a path from the POLYG to the middle of the component. You can achieve that by choosing POLYG in the Layer Palette and changing the path width to 0.3 μm. The result should look like the one below.

42.png

Lay a Metal 1 path, of width 0.26 μm, as shown below to represent the input.

43.png

Lastly create a Metal 1 path for the output as shown below.

44.png

Run DRC. You should now only have one warning left. It states that the area coverage of POLYG is less than 14%. This is not a serious error, but it's part of the Generic 0.13 micron process that we are using.

Create Ports

Choose the Metal 1 layer of the reference node and navigate to Connectivity > Port > Make Port:. Name the port ground and change the port type to Ground In. Press OK.

45.png

Choose the Metal 1 layer of the node and make a port. Name the port VDD and change the port type to Power In. Press OK.

46.png

Choose the path dedicated to the input node and make a port. Name the port IN and change the port type to Signal In

47.png

Choose the path dedicated to the output node and make a port. Name the port OUT and change the port type to Signal Out.

48.png

Finally navigate to Add > Text on Ports.... As the name implies this will add text that will indicate the input, output, , and ground ports. In the next window just press OK. The resulting layout should look like the one below.

49.png

Perform a DRC to make sure we didn't introduce any warnings during the above procedure.

Layout vs. Schematic (LVS) Check

It's sometimes beneficial to compare the schematic implementation of a circuit against the layout implementation of the same circuit. In Tutorial 1 we created a schematic of an inverter. Henceforth, the two will be compared to evaluate the correctness of the above design.

Navigate to Tools > Calibre > Run LVS.

50.png

Click on the Netlist Tab and change the Top Cell to Tutorial_1.

51.png

Then navigate to Setup > LVS Options and add and ground.

52.png

Since our schematic exists under the Tutorial_1 you will be prompted to locate the path.

53.png

If your design is correct you will get the below result.

54.png

Finally, be sure to save your cell then exit Pyxis Layout.

Author: George Bakirtzis

Created: 2014-08-19 Tue 05:00

Emacs 24.3.1 (Org mode 8.2.7b)

Validate

() [] {} 